package com.xgc.oauth.mapper;

import com.xgc.oauth.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Set;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author xgc
 * @since 2024-01-11
 */
public interface SysUserMapper extends BaseMapper<SysUser> {
    Set<String> getUserPermissions(Long userId);

    Set<String> getUserRoles(Long userId);
}
